package com.ruoyi.operator.service;


import com.ruoyi.operator.domain.OptShopProduct;

import java.util.List;

/**
 * 商家商品Service接口
 * 
 * @author ruoyi
 * @date 2021-02-08
 */
public interface IOptShopProductService 
{
    /**
     * 查询商家商品
     * 
     * @param productId 商家商品ID
     * @return 商家商品
     */
    public OptShopProduct selectOptShopProductById(String productId);

    /**
     * 查询商家商品列表
     * 
     * @param optShopProduct 商家商品
     * @return 商家商品集合
     */
    public List<OptShopProduct> selectOptShopProductList(OptShopProduct optShopProduct);

    /**
     * 新增商家商品
     * 
     * @param optShopProduct 商家商品
     * @return 结果
     */
    public int insertOptShopProduct(OptShopProduct optShopProduct);

    /**
     * 修改商家商品
     * 
     * @param optShopProduct 商家商品
     * @return 结果
     */
    public int updateOptShopProduct(OptShopProduct optShopProduct);

    /**
     * 批量删除商家商品
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteOptShopProductByIds(String ids);

    /**
     * 删除商家商品信息
     * 
     * @param productId 商家商品ID
     * @return 结果
     */
    public int deleteOptShopProductById(String productId);
}
